package cn.idietrade.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

@Data
@Alias("secondMessage")
@NoArgsConstructor
@AllArgsConstructor
public class SecondMessage {
    private Integer id;                   //消息表id主键
    private Integer sendUserId;           //发送消息用户id对应user表中id
    private Integer recvUserId;           //接收消息用户id对应user表中id
    private String content;               //消息内容
    private Integer goodsId;                //用户给商品留言功能
    private String createTime;            //创建时间
    private String modificationTime;      //修改时间
    private Integer redaState;            //消息状态：0未读 1已读 默认0
}
